package com.kalix.mooc.live.api.biz;

import com.kalix.framework.core.api.biz.IBizService;
import com.kalix.framework.core.api.persistence.JsonData;
import com.kalix.mooc.live.entities.LiveBean;

/**
 * 功能描述:
 *
 * @Description: 直播服务层
 * @Author: yyp
 * @CreateDate: 2019/5/17$ 14:37$
 * @Version:
 */
public interface ILiveBeanService extends IBizService<LiveBean> {
/**
 * 1.0
 * */
    public JsonData startLive(Long userId, String username, String type, String imgUrl, String liveName);

    public JsonData getFirstLive();

    public JsonData getSixLive();

    public JsonData closeLive(Long userId);

    public JsonData getLiveAllUrl(String state,String type);

    public JsonData getLive(Long liveId);

    public JsonData getPageDate(Integer page, Integer limit, String type, String state);
}
